package com.gc.sql.ddl;

public final class ColumnsList extends Object {
    private ColumnDef columns;
    
    private ColumnsSubList next;
    
    public ColumnsList(ColumnDef columns, ColumnsSubList next) {
        this.columns = columns;
        this.next = next;
    }
    private ColumnsList() {
    }
    public static ColumnsBuilder builder() {
        ColumnsList self = new ColumnsList();
        return self.new ColumnsBuilder ();
    }
    public class ColumnsBuilder extends Object {
        private ColumnsBuilder () {}
        public NextBuilder columns(ColumnDef columns) {
            ColumnsList.this.columns = columns;
            return ColumnsList.this.new NextBuilder ();
        }
    
    }
    public class NextBuilder extends Object {
        private NextBuilder () {}
        public ColumnsList next(ColumnsSubList next) {
            ColumnsList.this.next = next;
            return ColumnsList.this;
        }
    
    }
        @Override
        public String toString() {
            return String.valueOf(columns)+" "+String.valueOf(next);
        }

}
